<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.20"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>JCSDK Objective-C API Reference for iOS/macOS: JCSDKOC/JCSDKOC/JCGroup/JCGroup.h 源文件</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">JCSDK Objective-C API Reference for iOS/macOS
   &#160;<span id="projectnumber">2.3.3</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.20 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_264cb3eb38195563df8d4ec61e97ef66.html">JCSDKOC</a></li><li class="navelem"><a class="el" href="dir_8909aba9135893f62ff3b0388ad9e7d6.html">JCSDKOC</a></li><li class="navelem"><a class="el" href="dir_b2a6bd671707edf685d8bddc6ce99e2d.html">JCGroup</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">JCGroup.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="_j_c_group_8h.html">浏览该文件的文档.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"><a class="line" href="interface_j_c_group.html#ad519604f281f0e74374c47d2ae419faa">    1</a></span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment">//  JCGroup.h</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment">//  JCSDKOC</span></div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment">//  Created by maikireton on 2017/8/15.</span></div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment">//  Copyright © 2017年 juphoon. All rights reserved.</span></div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160; </div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="preprocessor">#import &lt;Foundation/Foundation.h&gt;</span></div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="preprocessor">#import &quot;<a class="code" href="_j_c_group_callback_8h.html">JCGroupCallback.h</a>&quot;</span></div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="preprocessor">#import &quot;<a class="code" href="_j_c_group_constants_8h.html">JCGroupConstants.h</a>&quot;</span></div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="preprocessor">#import &quot;<a class="code" href="_j_c_group_item_8h.html">JCGroupItem.h</a>&quot;</span></div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160; </div>
<div class="line"><a name="l00022"></a><span class="lineno"><a class="line" href="interface_j_c_group.html">   22</a></span>&#160;<span class="keyword">@interface </span><a class="code" href="interface_j_c_group.html">JCGroup</a> : NSObject</div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160; </div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;+(<a class="code" href="interface_j_c_group.html">JCGroup</a>* __nullable)create:(<a class="code" href="interface_j_c_client.html">JCClient</a>* __nonnull)client callback:(<span class="keywordtype">id</span>&lt;<a class="code" href="protocol_j_c_group_callback-p.html">JCGroupCallback</a>&gt; __nonnull)callback;</div>
<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160; </div>
<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;+(void)<a class="code" href="interface_j_c_group.html#a4a7b35b69b04406fa72742a875e5a652">destroy</a>;</div>
<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160; </div>
<div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;-(int)fetchGroups:(<span class="keywordtype">long</span>)updateTime;</div>
<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160; </div>
<div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;-(int)fetchGroupInfo:(NSString* __nonnull)groupId updateTime:(<span class="keywordtype">long</span>)updateTime;</div>
<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160; </div>
<div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;-(int)createGroup:(NSArray&lt;<a class="code" href="interface_j_c_group_member.html">JCGroupMember</a>*&gt;* __nonnull)members groupName:(NSString* __nonnull)groupName type:(<a class="code" href="group___xE7_xBE_xA4_xE7_xBB_x84_xE6_xA8_xA1_xE5_x9D_x97.html#gaefb5c27674a3722b859a6752fef1f550">JCGroupType</a>)type customProperties:(NSDictionary&lt;NSString*, NSObject*&gt;* __nullable)customProperties;</div>
<div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160; </div>
<div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;-(int)updateGroup:(<a class="code" href="interface_j_c_group_item.html">JCGroupItem</a>* __nonnull)groupItem;</div>
<div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160; </div>
<div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;-(int)dissolve:(NSString* __nonnull)groupId;</div>
<div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160; </div>
<div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;-(int)leave:(NSString* __nonnull)groupId;</div>
<div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160; </div>
<div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;-(int)dealMembers:(NSString* __nonnull)groupId members:(NSArray&lt;<a class="code" href="interface_j_c_group_member.html">JCGroupMember</a>*&gt;* __nonnull)members;</div>
<div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160; </div>
<div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;-(int)updateGroupComment:(NSString* __nonnull)groupId nickName:(NSString* __nonnull)nickName tag:(NSDictionary&lt;NSString*, NSObject*&gt;* __nullable)tag;</div>
<div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160; </div>
<div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;-(int)setDnd:(NSString* __nonnull)groupId dnd:(<span class="keywordtype">bool</span>)dnd;</div>
<div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160; </div>
<div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;<span class="keyword">@end</span></div>
<div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160; </div>
</div><!-- fragment --></div><!-- contents -->
<div class="ttc" id="a_j_c_group_callback_8h_html"><div class="ttname"><a href="_j_c_group_callback_8h.html">JCGroupCallback.h</a></div></div>
<div class="ttc" id="ainterface_j_c_group_html"><div class="ttname"><a href="interface_j_c_group.html">JCGroup</a></div><div class="ttdef"><b>Definition:</b> JCGroup.h:23</div></div>
<div class="ttc" id="aprotocol_j_c_group_callback-p_html"><div class="ttname"><a href="protocol_j_c_group_callback-p.html">JCGroupCallback-p</a></div><div class="ttdef"><b>Definition:</b> JCGroupCallback.h:22</div></div>
<div class="ttc" id="agroup___xE7_xBE_xA4_xE7_xBB_x84_xE6_xA8_xA1_xE5_x9D_x97_html_gaefb5c27674a3722b859a6752fef1f550"><div class="ttname"><a href="group___xE7_xBE_xA4_xE7_xBB_x84_xE6_xA8_xA1_xE5_x9D_x97.html#gaefb5c27674a3722b859a6752fef1f550">JCGroupType</a></div><div class="ttdeci">JCGroupType</div><div class="ttdef"><b>Definition:</b> JCGroupConstants.h:119</div></div>
<div class="ttc" id="a_j_c_group_constants_8h_html"><div class="ttname"><a href="_j_c_group_constants_8h.html">JCGroupConstants.h</a></div></div>
<div class="ttc" id="ainterface_j_c_group_member_html"><div class="ttname"><a href="interface_j_c_group_member.html">JCGroupMember</a></div><div class="ttdef"><b>Definition:</b> JCGroupMember.h:21</div></div>
<div class="ttc" id="a_j_c_group_item_8h_html"><div class="ttname"><a href="_j_c_group_item_8h.html">JCGroupItem.h</a></div></div>
<div class="ttc" id="ainterface_j_c_group_item_html"><div class="ttname"><a href="interface_j_c_group_item.html">JCGroupItem</a></div><div class="ttdef"><b>Definition:</b> JCGroupItem.h:21</div></div>
<div class="ttc" id="ainterface_j_c_group_html_a4a7b35b69b04406fa72742a875e5a652"><div class="ttname"><a href="interface_j_c_group.html#a4a7b35b69b04406fa72742a875e5a652">+[JCGroup destroy]</a></div><div class="ttdeci">void destroy()</div></div>
<div class="ttc" id="ainterface_j_c_client_html"><div class="ttname"><a href="interface_j_c_client.html">JCClient</a></div><div class="ttdef"><b>Definition:</b> JCClient.h:94</div></div>
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="http://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.8.20
</small></address>
</body>
</html>
